{extend name="Public:base" /}
{block name="main"}

<ol class="breadcrumb auto-nav-path">
  <li><i class="glyphicon glyphicon-home"></i>&nbsp;&nbsp;<a href="#">后台首页</a></li>
  <li class="active">后台管理中心</li>
</ol>   
    
<div class="panel panel-default auto-back-panel">
    <div class="panel-heading"> <i class="glyphicon glyphicon-pencil"></i> 编辑页</div>
    <div class="panel-body">
        <form action="{:url()}" method="post" class="form-horizontal">
        	<input type="hidden" name="id" value="{$data.id|default=''}">
	        <div class="form-group auto-input">
	            <label for="username" class="col-sm-2 control-label">账号</label>
	            <div class="col-sm-3">
	            <input name="username" type="text" class="form-control" id="username" placeholder="标题" value="{$data.username|default=''}">
	            </div>
	        </div>
	    
	        <div class="form-group auto-input">
	            <label for="password" class="col-sm-2 control-label">密码 </label>
	            <div class="col-sm-3">
	            <input name="password" type="text" class="form-control" id="password" placeholder="密码" value="{$data.password|default=''}">
	            </div>
	        </div>
	    
	        <div class="form-group auto-input">
	            <label for="mobile" class="col-sm-2 control-label">手机号</label>
	            <div class="col-sm-3">
	            <input name="mobile" type="text" class="form-control" id="mobile" placeholder="手机号" value="{$data.mobile|default=''}">
	            </div>
	        </div>

	        <div class="form-group auto-input">
	            <label for="email" class="col-sm-2 control-label">邮箱</label>
	            <div class="col-sm-3">
	            <input name="email" type="text" class="form-control" id="email" placeholder="邮箱" value="{$data.email|default=''}">
	            </div>
	        </div>
	   			
	    
	        <div class="form-group auto-radio">
	            <label for="input4" class="col-sm-2 control-label">性别</label>
	            <div class="col-sm-3">
	                <label class="radio-inline">
	                    <input name="sex" type="radio"  checked="" id="" value="1"> 男
	                </label>
	                <label class="radio-inline">
	                    <input name="sex" type="radio" id="" value="2"> 女
	                </label>
	            </div> 
	        </div>

	        <div class="form-group auto-radio">
	            <label for="input4" class="col-sm-2 control-label">是否启用</label>
	            <div class="col-sm-3">
	                <label class="radio-inline">
	                    <input name="status" type="radio"  checked="" id="" value="1"> 启用
	                </label>
	                <label class="radio-inline">
	                    <input name="status" type="radio" id="" value="-1"> 禁用
	                </label>
	            </div>
	        </div>
	    
	    
	        <div class="form-group auto-input">
	            <label for="desc" class="col-sm-2 control-label">描述</label>
	            <div class="col-sm-3">
	            <input name="desc" type="text" class="form-control" id="desc" placeholder="账号描述" value="{$data.desc|default=''}">
	            </div>
	        </div>
	    
	        <div class="form-group auto-submit">
	            <div class="col-sm-offset-2 col-sm-6">
	                <button type="submit" class="btn btn-success">确定</button>
	                <a class="btn btn-default" href="#" role="button">返回</a>
	            </div>
	        </div>
    </form>
    </div>
</div>
{/block}

{block name="javascript"}
{/block}